FROM ubuntu:20.04
WORKDIR /opt/Mz1httpd
RUN mkdir -p /opt/Mz1httpd

COPY . /opt/Mz1httpd

RUN apt update \
	&& apt install -y --no-install-recommends \
		build-essential

RUN make build_static

EXPOSE 2333
ENTRYPOINT ["/opt/Mz1httpd/docker-entrypoint.sh"]
